var host="msq";
var config={

		cookieTime: 5*60*60*1000,	//cookie失效时间
		api: {
			publishArticle: [host + '/api/studio/<studio_id>/article', 'POST'],
			getStudioWorks: [host+'/api/studio/<studio_id>/work','GET'],
			getStudioEnvironment:[host+'/api/studio/<studio_id>/environment','GET'],
			getStudioVideo: [host+'/api/studio/<studio_id>/video','GET'],
			updateStudioInfo:[host+'/api/studio/<studio_id>/info','PUT'],
			addStudioWork:[host+'/api/studio/<studio_id>/work','PUT'],
			deleteStudioWork:[host+'/api/studio/<studio_id>/work','DELETE'],
			addStudioEnvironment:[host+'/api/studio/<studio_id>/environment','PUT'],
			deleteStudioEnvironment:[host+'/api/studio/<studio_id>/environment','DELETE'],
			addStudioVideo:[host+'/api/studio/<studio_id>/video','PUT'],
			deleteStudioVideo:[host+'/api/studio/<studio_id>/video','DELETE'],
			createVideo:[host+'/api/video','POST'],
			login:[host+'/api/studio/login','POST'],
			getStudioTeachers:[host+'/api/studio/<studio_id>/teacher','GET'],
			addTeacher:[host+'/api/studio/<studio_id>/teacher','PUT'],
			deleteTeacher:[host+'/api/studio/<studio_id>/teacher','DELETE'],
			getMerchants:[host+'/api/merchants',"GET"],
			getMerchantDetail:[host+'/api/merchant/<merchant_id>','GET'],
			getMerchantGoods:[host+'/api/merchant/<merchant_id>/goods','GET'],
			getGoodDetail:[host+'/api/good/<good_id>','GET'],
			createStudio:[host+'/api/studio','POST'],
			getArticleDetail:[host+'/api/article/<article_id>','GET'],
			deleteArticle:[host+'/api/article/<article_id>','DELETE'], // add
			updateArticle:[host+'/api/article/<article_id>', 'PUT'],   // add
			getAllStudentProblem:[host+'/api/studio/<studio_id>/askme','GET'],
			getAllStudentComment:[host+'/api/studio/<studio_id>/studio-comment','GET'],
			answerProblem:[host+'/api/studio/<studio_id>/answer','POST'],
			modifyAnswer:[host+'/api/studio/<studio_id>/answer/<answer_id>','PUT'],
			getAllAnsweredProblem:[host+'/api/studio/<studio_id>/answer','GET'],
			replyToComment:[host+'/api/studio/<studio_id>/studio-comment/<studio_comment_id>','PUT'],
			deleteComment:[host+'/api/studio/<studio_id>/studio-comment/<studio_comment_id>','DELETE'],
			setStudioAvatar:[host+'/api/studio/<studio_id>/avatar','PUT'],
			//studio teacher-intro update
			updateStudioTeacherIntro: [host + '/api/studio/<studio_id>/teacher-intro', 'PUT'],
			updateRecruitment: [host + '/api/studio/<studio_id>/recruitment', 'PUT'],
            sendEmail:[host+'/api/pin','POST'],
            resetPassword:[host+'/api/pin_verification','POST']
		}
};
